package com.sen.patterns.creational.prototype;

/**
 * 调羹抽象类
 * @author sen
 */
public abstract class AbstractSpoon implements Cloneable {
	
	String spoonName;
	
	public void setSpoonName(String spoonName) {
		this.spoonName = spoonName;
	}
	
	public String getSpoonName() {
		return this.spoonName;
	}
	
	/**
	 * 重写clone方法
	 */
	public Object clone() {
		Object object = null;
		try {
			object = super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return object;
	}
	
}
